Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ScottKnottESD (version 2.0.3)

"long2wide": Convert data from long format to wide format

Description

Convert data from long format to wide format

Usage

long2wide(x, ...)

Arguments

x

A long-format data frame.

...

Optional parameters.

Value

A wide-format data frame.

Examples

Run this code
# NOT RUN {
long2wide(melt(example, id.vars=0))

# }

Run the code above in your browser using DataLab